﻿@using EcBlog.Properties
@using EcBlog.Extensions
@using EcBlog.Data
@using EcBlog.Models
@{
    var setting = DependencyResolver.Current.GetService<IEcUnitOfWork>().SiteSettingRepository;   
}
<div >
<ul >
    <li>
        @using (Html.BeginForm("Search", "Blog", FormMethod.Post, new { id = "searchForm" }))
        {
            @Html.TextBox("searchKey", null, new { @class = "searchTextBox" })
            <input id="Search" type="submit" value="@ModelLocalization.Search" class="searchButton" />
        }
    </li>
    @if (bool.Parse(setting[SiteSettingKey.UseSocialiconsInExtra]))
    {
       
    <li>
        <img src="@Url.Content("~/Content/images/socialicons/face40.jpg")" alt="facebook" title="@ModelLocalization.follow_on_facebook" />
        <a href="@setting[SiteSettingKey.FacebookLink]" target="_blank"> @ModelLocalization.follow_on_facebook</a>
    </li>
    <li>
        <img src="@Url.Content("~/Content/images/socialicons/tw40x40.jpg")" alt="twitter" title="@ModelLocalization.follow_on_twitter" />
        <a href="http://wwww.twitter.com/@setting[SiteSettingKey.TwitterUserName]" target="_blank"> @ModelLocalization.follow_on_twitter</a>
    </li>
    <li>
        <img src="@Url.Content("~/Content/images/socialicons/rss40.jpg")" alt="rss" title="@ModelLocalization.follow_with_rss" />
        <a href="@setting[SiteSettingKey.RssLink]" target="_blank"> @ModelLocalization.follow_with_rss</a>
    </li> 
    }
</ul>
 <ul >
 <li style="margin-top:2em;"><a href="http://yazgelistir.com/Hakkinda/YazarDetay.aspx?UyeId=1000082789" title="Yazılım Uzmanlarının İlk Adresi"
        target="_blank">
        <img src="@Url.Content("~/content/images/yazgelistir_logo.gif")" alt="YazGeliştir" title="Yazılım Uzmanlarının İlk Adresi" width="100"></a></li>
    <li><a href="http://www.birliktegelistir.com/UserProfile.aspx?Member=emrecoskun"
        title="Türkçe Açık Kaynak Topluluğu">
        <img src="@Url.Content("~/content/images/bg.bmp")" alt="BirilkteGeliştir" title="Türkçe Açık Kaynak Topluluğu" width="100"/></a></li>
    <li><a href="http://www.codeplex.com/site/users/view/evcilbilgis" title="Microsoft açık kaynak platformu"
        target="_blank">
        <img src="@Url.Content("~/content/images/cplogo.png")" alt="Codeplex" title="Microsoft açık kaynak platformu" width="100"/></a></li>
    <li>
 </ul>
</div>
<ul>
    <li style="margin-top: 2em;" class="ExtraContainer">
        @Html.Action("TagCloud", "Widget")
    </li>
        <li style="margin-top: 2em;" class="ExtraContainer">
        @Html.Action("BlogStatus", "Widget")
    </li>
</ul>
<p>
</p>
<div id="tweet_container">
</div>
